package com.azt.provider.mapper;

import com.azt.api.pojo.CompanyBank;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

public interface CompanyBankMapper extends Mapper<CompanyBank> {

    public List<Map> findOpenBank(Map param);

    public List<Map> findOpenBankByName(Map param);

    public List<CompanyBank> selectByCompanyId(int id);
    
    public CompanyBank selectById(Integer id);

    public void changeDefaultBank(@Param( value = "companyId") Integer companyId , @Param( value = "bankId")Integer bankId);

}